package com.youlu.campus.entity.commission;

import com.youlu.campus.base.base.EntityBase;
import lombok.Data;
import org.springframework.data.annotation.Transient;
import org.springframework.data.mongodb.core.mapping.Document;

/**
 * @author : [dengbo]
 * @className : DistributorGrade
 * @description : [分销等级]
 * @createTime : [2023/2/3 11:55]
 */
@Data
@Document(collection = "distributor_grade")
public class DistributorGrade extends EntityBase {
    /**
     * 等级名称
     */
    private String name;
    /**
     * 分销金额 分
     */
    private Long totalMoney;
    /**
     * 佣金提高 比例 20  单位%
     */
    private Integer commissionRate;
    /**
     * 比列字符串
     */
    @Transient
    private String commissionRateStr;
}
